package com.spring.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebController {

    /**
     * 主页
     * @return
     */
    @GetMapping("/")
    public String index(){
        return "forward:/html/index.html";
    }

    @GetMapping("/login")
    public String login(){
        return "forward:/html/login.html";
    }
}
